<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>选择器测试题</title>
    <style>
        .wrap {
            background-color: lightgray;
        }
        .wrap{
            background-color: orangered;
        }
    </style>
</head>
<body>
    <!-- 优先级一样的情况下，就近原则 -->
    <div class="wrap">wrap</div>
</body>
</html>